<?php
namespace app\admin\validate;

use think\Validate;

class FlashValidate extends Validate
{
    protected $rule = [
        'gid' => 'require',
    ];

    protected $message = [
        'gid.require' => '请选择商品'
    ];
}